import request from '@/utils/request'


// 活动列表
export const apiactivityLists = params => request.get('referral_rebate/activityLists', {
	params
})

// 获取收益列表
export const apiprofitLists = params => request.get('referral_rebate/profitLists', {
	params
})

// 活动详情-活动信息
export const apiactivitydetail = params => request.post('referral_rebate/detail', params)

// 获取收益详情
export const apirofitDetai = params => request.get('referral_rebate/profitDetail', {
	params
})

// 活动详情-关联订单
export const apiorderLists = params => request.get('referral_rebate/orderLists', {
	params
})

// 参加活动 
export const apijoinActivity = params => request.post('referral_rebate/joinActivity', params)